<?php
class Application_Form_ExigenceC extends Zend_Form
{
	public function init()
	{
		$this->setName("Exigence");
		
		$libelle = new Zend_Form_Element_Text("LibelleC");
		$libelle->setLabel("Libelle : ");
		
		$description = new Zend_Form_Element_Text("DescriptionC");
		$description->setLabel("Description : ");
		
		$note = new Zend_Form_Element_Text("NoteC");
		$note->setLabel("Note : ");
		
		$codeButton = new Zend_Form_Element_Submit("exigenceButton");
		$codeButton->setLabel("Ajout Exigence");
		
		$annulerButton = new Zend_Form_Element_Button("annulerExigenceButton");
		$annulerButton->setLabel("Annuler")->setAttrib("onClick", "window.location='acceuil'");

		$resetButton = new Zend_Form_Element_Reset("resetButton");
		$resetButton->setLabel("Effacer");
		
		$this->addElements(array($libelle,$description,$note,$codeButton,$annulerButton,$resetButton));
	}
}
?>